/*
 * @Author: your name
 * @Date: 2020-02-25 11:58:22
 * @LastEditTime: 2020-02-27 11:53:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /vue-admin-template/src/utils/auth.js
 */
// import Cookies from 'js-cookie'

// const TokenKey = 'vue_admin_template_token'

export function getToken() {
  return localStorage.getItem('token') || ''
}
export function setToken(token) {
  localStorage.setItem('token', token)
}

export function removeToken() {
  return localStorage.removeItem('token')
}
